package com.ruowei.modules.sys.pojo.dto;

import com.ruowei.modules.sys.domain.enumeration.OperateType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.Instant;

@Data
public class OperateLogDTO {
    @ApiModelProperty(value = "操作人")
    private String operator;
    @ApiModelProperty(value = "操作人用户名")
    private String operatorLogin;
    @ApiModelProperty(value = "被操作主体编码")
    private String code;
    @ApiModelProperty(value = "被操作主体名")
    private String name;
    @ApiModelProperty(value = "时间")
    private Instant time;
    @ApiModelProperty(value = "修改表名")
    private String tableName;
    @ApiModelProperty(value = "修改字段")
    private String field;
    @ApiModelProperty(value = "原值")
    private String originalValue;
    @ApiModelProperty(value = "新值")
    private String newValue;
    @ApiModelProperty(value = "操作类型")
    private OperateType operateType;
}
